<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>Insert title here</title>
<link rel="stylesheet" href="css/index3.css">
<script type="text/javascript" src="js/jquery-1.8.3.js"></script>
<script type="text/javascript">


</script>

</head>
<body>
  
  <table>
	<tr>
		<td>
			<input type="checkbox" name="checkbox" onclick="qx()"/>全选
		</td>
		<td>编号</td>
		<td>城市</td>
		<td>市场</td>
		<td>电话</td>
		<td>email</td>
		<td>操作
			<button onclick="tj()">添加</button>
		</td>
	</tr>
	<c:forEach items="${list }" var="l">
	<tr>
		<td>
			<input type="checkbox" name="check"/>
		</td>
		<td>${l.id }</td>
		<td>${l.city_name }</td>
		<td>${l.name }</td>
		<td>${l.tel }</td>
		<td>${l.email }</td>
		<td>
			<button onclick="sc('${l.id }')">删除</button>
		</td>
	</tr>
	</c:forEach>
</table>

</body>
</html>